<h1>注册</h1>
<div id="main" role="main" class="m-default">

		<article>
		<div style="color:red"><?php echo validation_errors(); ?></div>
			<?php //echo form_open( '/member/reg' );?>
			<form action="/member/reg" method="post" accept-charset="utf-8">
			<label for="username">用户名</label>
			<div><input type="text" id="username" name="username" value="<?php echo set_value('username'); ?>" class="login-input" /></div>
			
			<label for="pwd">密码</label>
			<div><input type="password" name="pwd" id="pwd" class="login-input" /></div>
			
			<label for="pwd1">重复输入密码</label>
			<div><input type="password" name="pwd1" id="pwd1" class="login-input" /></div>
			
			<label for="email">邮箱</label>
			<div><input type="email" id="email" name="email" value="<?php echo set_value('email'); ?>" class="login-input" /></div>
			
			<label for="name">称呼</label>
			<div><input type="text" name="name" id="name" class="login-input" /></div>
			
			<div style="margin-top: 20px;padding-left: 80px;">
			<a href="#" >我是学生</a> 
			<a href="#" >我是老师</a> 
			</div>
			
			<?php //echo form_close();?>
			</form>
		
		</article>
	</div><!-- endof main -->
	
	<aside id="side-right">
	
		<h3>1分钟完成注册</h3>
		<p>注册后，先设置您的资料</p>
		<p>网站会据此自动匹配相应学生或老师。
		</p>	
		
	</aside>